package lei;

public class Bank {
    private int out;
    public void getMoney(int out) throws BankExpection{
        if(out % 100==0){
            System.out.println(out);
        }else{
            throw new BankExpection("错误");
        }
    }
}
